package com.smfx.yxt.daoSqlserver;

import java.util.List;

import com.smfx.yxt.model.StudentTermPoints;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.reqVo.PointsReqVO;
import com.smfx.yxt.view.PointItemView;
import com.smfx.yxt.view.PointTotalView;

public interface StudentTermPointsMapper {

    int insertSelective(StudentTermPoints record);

    StudentTermPoints selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(StudentTermPoints record);
    //初始化学生学期积分数据
    int addStudentTermPoints(PointsReqVO vo);
    //更新学生学期积分
    int updateStudentTermPoints(PointsReqVO vo);
    //更新学生总积分
    int updateStudentTotalPoints(PointsReqVO vo);
    
    PointTotalView selectTotalPointForStudent(PointsReqVO vo);
    
    List<PointTotalView> selectTotalPointForStudentByPage(Page<PointTotalView> page);
    
    List<PointItemView> selectPointItemForStudentByPage(Page<PointItemView> page);
    
}